home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3b / wait.z / wait
Encoding:
Text File  |  2002-10-03  |  2.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. WWWWAAAAIIIITTTT((((3333BBBB))))                                                              WWWWAAAAIIIITTTT((((3333BBBB))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      wait, wait3 - wait for child processes to stop or terminate
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_wwww_aaaa_iiii_tttt_...._hhhh_>>>>
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_rrrr_eeee_ssss_oooo_uuuu_rrrr_cccc_eeee_...._hhhh_>>>>
  15.  
  16.      _iiii_nnnn_tttt _wwww_aaaa_iiii_tttt _((((_))))_;;;;
  17.  
  18.      _iiii_nnnn_tttt _wwww_aaaa_iiii_tttt_3333 _((((_))))_;;;;
  19.  
  20.      To use either of these routines you must either
  21.  
  22.      1) #define ____BBBBSSSSDDDD____CCCCOOOOMMMMPPPPAAAATTTT before including <_s_y_s/_w_a_i_t._h>, or
  23.  
  24.      2) specify it in the compile command or makefile:
  25.  
  26.           cc -D_BSD_COMPAT -o prog prog.c
  27.  
  28.  
  29. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.      These two routines are fully described in _wwww_aaaa_iiii_tttt(2).  When BSD
  31.      compatibility mode is enabled (via the definition of __B_S_D__C_O_M_P_A_T) the
  32.      only change is in the prototype declaration of these routines in
  33.      _s_y_s/_w_a_i_t._h.  Historically, many BSD derived programs pass as the status
  34.      pointer, a pointer to a _u_n_i_o_n _w_a_i_t, rather than a pointer to _i_n_t.  Since
  35.      these programs would not properly compile if prototyping was in effect,
  36.      when BSD compatibility mode is enabled, no prototypes are declared.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      wait(2).
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.